﻿<%@ Page Title="大乐透后区走势图" Language="C#" MasterPageFile="~/APP_Master/MasterPage.master"
    AutoEventWireup="true" CodeFile="dlthqzs.aspx.cs" Inherits="dlthqzs" %>

<%@ Register src="APP_Controls/Dianping.ascx" tagname="Dianping" tagprefix="uc1" %>
<%@ Register src="~/APP_Controls/dltZouShi.ascx" tagname="ZouShi" tagprefix="uc2" %>
<%@ Register src="APP_Controls/Friend.ascx" tagname="Friend" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<style> 
.zs_table table.zs_tt tr td div.t_02 { float:left; width:660px; padding:0 10px;}
.zs_table table.zs_tt tr td div.t_03 { float:left; width:150px; padding:0 10px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <h2 class="zoushi_t">福彩大乐透<span>后区</span>走势图</h2>
<!--Content-->
<div class="zhoushi">
	<!--Title-->
    <div class="zhoushi_title">
    	<div class="zs_t_box">
            选择：
            <asp:DropDownList ID="DropDownList1" runat="server" >
            <asp:ListItem Value="30">最近30期</asp:ListItem>
            <asp:ListItem Value="50">最近50期</asp:ListItem>
            </asp:DropDownList>
      </div>  
      <div class="zs_t_box"> 
        <asp:Button ID="Button1" runat="server" Text="开始查看"  class="red_link" 
              onclick="Button1_Click"/> 
        </div>
    </div>
    <!--Title-->
    <!--Zoushi-->
       <div class="zs_table">
    	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_tt">
        	<tr>
            	<td rowspan="2" class="w55">期号</td>
            	<td rowspan="7" class="w55" style="width:175px">奖号</td>
                <td colspan="12">后区号码分布</td>
                <td colspan="11">后一</td>
                <td colspan="11">后二</td>
            </tr>
        	<tr> 
        	  <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">10</td>
        	  <td class="w22">11</td>
        	  <td class="w22">12</td>

        	   <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">10</td>
        	  <td class="w22">11</td>

        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">10</td>
        	  <td class="w22">11</td>
        	  <td class="w22">12</td>
   	      </tr>
        </table>
         <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
        <%if (arlist != null && arlist.Count > 0)
          {
              for (int i = 0; i < arlist.Count; i++)
              {%>
        	<tr>
            	<td class="b_bg w55"><%=arlist[i].LotteryQS%></td>  
            	 <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[0]%></td>
                <td class="y_bg"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[1]%></span></td>
                <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[2]%></td>
                <td class="y_bg"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[3]%></span></td>
                <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[4]%></td> 
                <td class="b_bg w25"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[0]%></span></td>
                <td class="b_bg w25"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[1]%></td>
                <%for (int j = 0; j < 12; j++)
                  { %>
                <td class="w22">
                <%for(int m=0;m<arlist[i].LotteryNo.Split('+')[1].Split(',').Length;m++) {
                      if (Convert.ToInt16(arlist[i].LotteryNo.Split('+')[1].Split(',')[m])==(j+1))
                      {%>
                <div class="r_bg"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[m]%></div>
                 <%} }%>
                </td>
                <%} %> 
                 <%for (int j = 1; j < 12; j++)
                  { %>
                <td class="w25 b_bg" style="width:22px">
                <% if (Convert.ToInt16(arlist[i].LotteryNo.Split('+')[1].Split(',')[0]) == (j))
                      {%>
                <div class="g_bg"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[0]%></div>
                 <%} %>
                </td>
                <%} %>
                  <%for (int j = 2; j < 13; j++)
                  { %>
                <td class="w22">
                <% if (Convert.ToInt16(arlist[i].LotteryNo.Split('+')[1].Split(',')[1])==(j))
                      {%>
                <div class="r_bg"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[1]%></div>
                 <%} %>
                </td> 
                <%} %>  
            </tr>  
            <%}
          }%>
          </table> 
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
          	 
            	<tr>
                <td rowspan="2" class="w_tj_120" style="width:230px"><strong>统计</strong></td>
                <%for (int i = 0; i < 34;i++ ){ %>
                <td <%if(i==0) {%>class="w22 h92"  <%}else{ %> class="w22" <%} %>>
                <div class="zs_z_bg" style="height:<%=TiaoxingDT[i]*100/jinqiCount%>px;"></div></td>
                <%} %> 

            </tr>
            <tr>
            	 <td class="w22 red">01</td>
          	  <td class="w22 red">02</td>
          	  <td class="w22 red">03</td>
          	  <td class="w22 red">04</td>
          	  <td class="w22 red">05</td>
          	  <td class="w22 red">06</td>
          	  <td class="w22 red">07</td>
          	  <td class="w22 red">08</td>
          	  <td class="w22 red">09</td>
          	  <td class="w22 red">10</td>
          	  <td class="w22 red">11</td>
          	  <td class="w22 red">12</td>
          	 <td class="w22 red">01</td>
          	  <td class="w22 red">02</td>
          	  <td class="w22 red">03</td>
          	  <td class="w22 red">04</td>
          	  <td class="w22 red">05</td>
          	  <td class="w22 red">06</td>
          	  <td class="w22 red">07</td>
          	  <td class="w22 red">08</td>
          	  <td class="w22 red">09</td>
          	  <td class="w22 red">10</td>
          	  <td class="w22 red">11</td>
          	   <td class="w22 red">02</td>
          	  <td class="w22 red">03</td>
          	  <td class="w22 red">04</td>
          	  <td class="w22 red">05</td>
          	  <td class="w22 red">06</td>
          	  <td class="w22 red">07</td>
          	  <td class="w22 red">08</td>
          	  <td class="w22 red">09</td>
          	  <td class="w22 red">10</td>
          	  <td class="w22 red">11</td>
          	  <td class="w22 red">12</td>
       	    </tr>
          </table>
    </div>
    <!--Zoushi-->
</div>
    <div class="zs_infor"><%--说明：点击最后空行上的空格，可以帮助记录选号。--%></div>
<!--Content-->
    
    <uc1:Dianping ID="Dianping1" runat="server" />
    <uc2:ZouShi ID="ZouShi1" runat="server" />
    <uc3:Friend ID="Friend1" runat="server" />
</asp:Content>
